package com.wenda.dao;

import java.util.List;

import com.wenda.entity.User;

public interface UserDao {
	List<User> findAll();
	
	User findByPrimaryKey(Integer id);
	
	User findByEmail(String email);
	
	User findByNumberAndPassword(User user);
	
	int insertSelective(User user);
	
	int updateSelectiveByPrimaryKey(User user);
	
	int deleteByPrimaryKey(Integer id);
}
